package com.qubi.exchange.service;
import com.qubi.exchange.entity.Balance;
import com.qubi.exchange.mapper.BalanceMapper;
import org.apache.ibatis.session.RowBounds;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Service;
import tk.mybatis.mapper.entity.Example;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

/**
 *  @author wx
 * @create 2019-02-13 11:53
 **/
@Service
public class AccountService {


    @Autowired
    BalanceMapper balanceMapper;






//
//    @Cached(name = "inviterRewardRate",cacheType = CacheType.LOCAL, expire = 60)
//    public BigDecimal getTransactionInviterRate(){
//        return new BigDecimal(configFeign.getConfig("referral_rewards_transaction_fees"));
//    }

}
